package main
import "fmt"
func main(){
	var a bool
	fmt.Println("bool类型的数据，默认值为：",a)
	
	/*这里尝试通过赋值，数字值来改变bool类型变量*/
	//a = 1
	//fmt.Println("a = 1, a 值为：",a)
	//结果发现，会报错
	
	a = true
	fmt.Println("a = true, a 值为：",a)
	
	a = false
	fmt.Println("a = true, a 值为：",a)
	
	fmt.Printf("a type is : %T \n",a)
}
